# if句
age = 17
if age >= 18:
    print("成年")
else:
    print("未成年")

age = int(input('请输入年龄:'))
if age >= 60:
    print('老年')
elif age >= 30:
    print('中年')
elif age >= 18:
    print('成年')
else:
    print("未成年")
